
<b><%= flash[:notice] %></b>

<p>
  <b>Name:</b>
  <%=h @user.name %>
</p>

<p>
  <b>First name:</b>
  <%=h @user.first_name %>
</p>

<p>
  <b>Birth date:</b>
  <%=h @user.birth_date %>
</p>

<p>
  <b>Hiring date:</b>
  <%=h @user.hiring_date %>
</p>

<p>
  <b>Departure date:</b>
  <%=h @user.departure_date %>
</p>

<p>
  <b>Adress:</b>
  <%=h @user.adress %>
</p>

<p>
  <b>Zip code:</b>
  <%=h @user.zip_code %>
</p>

<p>
  <b>City:</b>
  <%=h @user.city %>
</p>

<p>
  <b>Mobile phone:</b>
  <%=h @user.mobile_phone %>
</p>

<p>
  <b>Office phone:</b>
  <%=h @user.office_phone %>
</p>

<p>
  <b>Email :</b>
  <%=h @user.email %>
</p>

------------------------------------------

<p>
  <b>Login:</b>
  <%=h @user.login %>
</p>

<p>
  <b>Login count:</b>
  <%=h @user.login_count %>
</p>

<p>
  <b>Last request at:</b>
  <%=h @user.last_request_at %>
</p>

<p>
  <b>Last login at:</b>
  <%=h @user.last_login_at %>
</p>

<p>
  <b>Current login at:</b>
  <%=h @user.current_login_at %>
</p>

<p>
  <b>Last login ip:</b>
  <%=h @user.last_login_ip %>
</p>

<p>
  <b>Current login ip:</b>
  <%=h @user.current_login_ip %>
</p>

<%= link_to 'Edit', edit_user_path(@user) %> |
<%= link_to 'Back', users_path %>